.class public Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private A:Landroid/widget/TextView;

.field private B:Lcom/waiqin365/lightapp/product/d/f;

.field private C:Lcom/waiqin365/base/db/jxccache/g;

.field private D:Z

.field private E:Z

.field private F:Z

.field private G:Z

.field private H:Z

.field private I:Z

.field private J:Z

.field private K:D

.field private L:Ljava/lang/String;

.field private M:Ljava/lang/String;

.field private N:Ljava/util/List;

.field private O:Ljava/util/List;

.field private P:Ljava/lang/String;

.field private Q:Ljava/lang/String;

.field private R:Lcom/waiqin365/lightapp/product/c/g;

.field a:Ljava/util/List;

.field b:Ljava/util/List;

.field c:Ljava/util/List;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/ImageView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/view/View;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/TextView;

.field private m:Landroid/widget/EditText;

.field private n:Landroid/widget/TextView;

.field private o:Landroid/widget/TextView;

.field private p:Landroid/widget/TextView;

.field private q:Landroid/widget/EditText;

.field private r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/widget/LinearLayout;

.field private u:Landroid/widget/LinearLayout;

.field private v:Landroid/view/View;

.field private w:Landroid/widget/TextView;

.field private x:Lcom/waiqin365/lightapp/product/view/CountView;

.field private y:Landroid/view/View;

.field private z:Landroid/widget/LinearLayout;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->D:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->E:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->F:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->G:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->H:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->I:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->J:Z

    const-wide/high16 v0, -0x4010000000000000L    # -1.0

    iput-wide v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->K:D

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    const v1, 0x7f0806de

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->L:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->M:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->N:Ljava/util/List;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->P:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->Q:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/product/u;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/u;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->R:Lcom/waiqin365/lightapp/product/c/g;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    :goto_0
    return-object v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;Lcom/waiqin365/lightapp/product/d/f;)Lcom/waiqin365/lightapp/product/d/f;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    return-object p1
.end method

.method private a()V
    .locals 4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "maxCount"

    const-wide/high16 v2, -0x4010000000000000L    # -1.0

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->getDoubleExtra(Ljava/lang/String;D)D

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->K:D

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "maxStr"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->L:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->M:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->L:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-wide v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->K:D

    const-wide/16 v2, 0x0

    cmpl-double v0, v0, v2

    if-lez v0, :cond_0

    const v0, 0x7f0806de

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->L:Ljava/lang/String;

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->d()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->j()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->f()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->g()V

    return-void
.end method

.method private a(Landroid/widget/ImageView;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/f;->a(Landroid/content/Context;)Lcom/fiberhome/gaea/client/d/f;

    move-result-object v0

    invoke-virtual {p1}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/d/f;->b(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/product/d/f;)V
    .locals 2

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/o;->b()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v0, p1, p0, v1}, Lcom/waiqin365/lightapp/product/o;->b(Lcom/waiqin365/lightapp/product/d/f;Landroid/content/Context;Ljava/lang/Class;)V

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v0, p1, p0, v1}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/d/f;Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_0
.end method

.method private a(Z)V
    .locals 2

    const v0, 0x7f0c0949

    if-eqz p1, :cond_0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080123

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080122

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Lcom/waiqin365/lightapp/product/d/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    return-object v0
.end method

.method private b()V
    .locals 7

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->l(Ljava/lang/String;)Ljava/util/List;

    move-result-object v4

    if-eqz v4, :cond_2

    move v1, v2

    move v3, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :cond_0
    :goto_1
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/b;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/b;->a()Ljava/lang/String;

    move-result-object v6

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v6, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    move v3, v2

    :cond_3
    if-lez v3, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->h:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->h:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0804f2

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_2
    return-void

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->h:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_2
.end method

.method private b(Ljava/lang/String;)V
    .locals 4

    const/4 v2, -0x2

    const/high16 v3, 0x40400000    # 3.0f

    const-string/jumbo v0, ""

    if-eqz p1, :cond_0

    const-string/jumbo v0, ""

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, ","

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    iput v2, v1, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    iput v2, v1, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    array-length v1, v0

    const/4 v2, 0x0

    if-ge v2, v1, :cond_0

    aget-object v0, v0, v2

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2, v0}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->e:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->e:Landroid/widget/ImageView;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Landroid/widget/ImageView;)V

    :cond_0
    return-void
.end method

.method private c()V
    .locals 10

    const/4 v3, 0x0

    new-instance v0, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->e()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->c:Ljava/lang/String;

    const-string/jumbo v1, "2147483647"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->h:Ljava/lang/String;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/j;)Ljava/util/List;

    move-result-object v5

    if-eqz v5, :cond_8

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->N:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    move v2, v3

    :goto_0
    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_4

    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->H()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->H()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v4

    move v1, v3

    :goto_1
    array-length v6, v4

    if-ge v1, v6, :cond_0

    new-instance v6, Lcom/waiqin365/lightapp/product/d/i;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/product/d/i;-><init>()V

    aget-object v7, v4, v1

    iput-object v7, v6, Lcom/waiqin365/lightapp/product/d/i;->a:Ljava/lang/String;

    aget-object v7, v4, v1

    iput-object v7, v6, Lcom/waiqin365/lightapp/product/d/i;->b:Ljava/lang/String;

    int-to-double v8, v1

    iput-wide v8, v6, Lcom/waiqin365/lightapp/product/d/i;->c:D

    iget-object v7, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v7, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    iget-object v7, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c:Ljava/util/List;

    invoke-interface {v7, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_0
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->I()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->I()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v4, ","

    invoke-virtual {v1, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v6

    array-length v1, v6

    if-lez v1, :cond_3

    array-length v1, v6

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ne v1, v4, :cond_3

    move v4, v3

    :goto_2
    array-length v1, v6

    if-ge v4, v1, :cond_2

    aget-object v1, v6, v4

    const-string/jumbo v7, ":"

    invoke-virtual {v1, v7}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    new-instance v7, Lcom/waiqin365/lightapp/product/d/i;

    invoke-direct {v7}, Lcom/waiqin365/lightapp/product/d/i;-><init>()V

    aget-object v8, v1, v3

    iput-object v8, v7, Lcom/waiqin365/lightapp/product/d/i;->a:Ljava/lang/String;

    aget-object v8, v1, v3

    iput-object v8, v7, Lcom/waiqin365/lightapp/product/d/i;->b:Ljava/lang/String;

    const/4 v8, 0x1

    aget-object v1, v1, v8

    const-wide/16 v8, 0x0

    invoke-static {v1, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v8

    iput-wide v8, v7, Lcom/waiqin365/lightapp/product/d/i;->c:D

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c:Ljava/util/List;

    invoke-interface {v1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    invoke-interface {v1, v7}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c:Ljava/util/List;

    invoke-interface {v1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    invoke-interface {v1, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v1, v4, 0x1

    move v4, v1

    goto :goto_2

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->N:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_5
    :goto_3
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_9

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    new-instance v2, Lcom/waiqin365/lightapp/product/v;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/product/v;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    invoke-static {v0, v2}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_6
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/i;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->I()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, v0, Lcom/waiqin365/lightapp/product/d/i;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ":"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_7

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->I()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, v0, Lcom/waiqin365/lightapp/product/d/i;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ":"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_6

    :cond_7
    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_3

    :cond_8
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->finish()V

    :cond_9
    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a()V

    return-void
.end method

.method private d()V
    .locals 11

    const/high16 v10, 0x41a00000    # 20.0f

    const/high16 v9, 0x41700000    # 15.0f

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->u:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ne v0, v1, :cond_2

    move v3, v4

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v3, v0, :cond_3

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/i;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/i;->b:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b:Ljava/util/List;

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setTextSize(F)V

    const-string/jumbo v0, "#808080"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-static {p0, v10}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v0

    invoke-static {p0, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    const/high16 v5, 0x40e00000    # 7.0f

    invoke-static {p0, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v5

    invoke-virtual {v1, v0, v2, v4, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->u:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v6, Lcom/waiqin365/compons/view/FlowLayout;

    invoke-direct {v6, p0}, Lcom/waiqin365/compons/view/FlowLayout;-><init>(Landroid/content/Context;)V

    invoke-static {p0, v10}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v0

    invoke-virtual {v6, v0, v4, v4, v4}, Lcom/waiqin365/compons/view/FlowLayout;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c:Ljava/util/List;

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    move v5, v4

    :goto_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-ge v5, v1, :cond_1

    invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/product/d/i;

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    const v7, 0x7f0301ec

    invoke-virtual {v2, v7, v6, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    iget-object v7, v1, Lcom/waiqin365/lightapp/product/d/i;->b:Ljava/lang/String;

    invoke-virtual {v2, v7}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v8

    invoke-interface {v7, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-interface {v7, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v2, v7}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v7, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    invoke-interface {v7, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    const v1, 0x7f020395

    invoke-virtual {v2, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v2, v1}, Landroid/widget/Button;->setTextColor(I)V

    :cond_0
    new-instance v1, Lcom/waiqin365/lightapp/product/w;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/w;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    invoke-virtual {v2, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v6, v2}, Lcom/waiqin365/compons/view/FlowLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v1, v5, 0x1

    move v5, v1

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->u:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->t:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :cond_3
    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->d()V

    return-void
.end method

.method private e()V
    .locals 5

    const/4 v4, 0x0

    new-instance v1, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/product/d/j;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->e()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/product/d/j;->c:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, v1, Lcom/waiqin365/lightapp/product/d/j;->d:Ljava/util/List;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/i;

    iget-object v3, v1, Lcom/waiqin365/lightapp/product/d/j;->d:Ljava/util/List;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/i;->b:Ljava/lang/String;

    invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/j;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_2

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_1

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    const v1, 0x7f080716

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->g()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->f()V

    return-void

    :cond_1
    new-instance v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-direct {v0}, Lcom/waiqin365/base/db/jxccache/g;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    const v1, 0x7f0800ce

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0b0001

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->i:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_2
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->e()V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->z:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private f()V
    .locals 4

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->G:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "order_sh"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->R:Lcom/waiqin365/lightapp/product/c/g;

    invoke-static {p0, v1, v0, v2}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/waiqin365/lightapp/product/c/g;)V

    :cond_0
    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Lcom/waiqin365/base/db/jxccache/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    return-object v0
.end method

.method private g()V
    .locals 14

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/o;->b()Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Z)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->H:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    const v1, 0x7f020392

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const v1, 0x7f020392

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setBackgroundResource(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->f:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/product/d/f;)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->h()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-static {v2, v3}, Lcom/waiqin365/lightapp/product/e/b;->a(Lcom/waiqin365/base/db/jxccache/g;Lcom/waiqin365/lightapp/product/d/f;)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    const-wide/16 v4, 0x0

    invoke-static {v2, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->d()I

    move-result v2

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->q:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->f()Ljava/lang/Double;

    move-result-object v2

    const-wide/16 v4, 0x0

    invoke-static {v2, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v2

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->d(Ljava/lang/String;)Ljava/util/List;

    move-result-object v7

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->E:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->v:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->y:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_1
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->E:Z

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->y:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->v:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->z:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    if-nez v0, :cond_5

    const-wide/16 v2, 0x0

    :goto_2
    if-eqz v7, :cond_c

    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_c

    new-instance v10, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v0, -0x1

    const/4 v1, -0x2

    invoke-direct {v10, v0, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v0, 0x0

    move v6, v0

    :goto_3
    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v0

    if-ge v6, v0, :cond_c

    invoke-interface {v7, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/s;

    new-instance v11, Lcom/waiqin365/lightapp/product/view/CountView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-direct {v11, v1}, Lcom/waiqin365/lightapp/product/view/CountView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v1

    const/high16 v4, 0x41700000    # 15.0f

    invoke-virtual {v1, v4}, Landroid/widget/EditText;->setTextSize(F)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v1

    const-string/jumbo v4, "#333333"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v1, v4}, Landroid/widget/EditText;->setTextColor(I)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v1

    const/high16 v4, 0x41700000    # 15.0f

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v1

    const-string/jumbo v4, "#333333"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v1, 0x0

    const/4 v4, 0x1

    invoke-virtual {v11, v1, v4}, Lcom/waiqin365/lightapp/product/view/CountView;->a(ZZ)V

    const/4 v1, 0x1

    invoke-virtual {v11, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne v1, v6, :cond_7

    const-wide/16 v0, 0x0

    cmpl-double v0, v2, v0

    if-lez v0, :cond_6

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_4
    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    move-wide v8, v2

    :goto_5
    new-instance v0, Lcom/waiqin365/lightapp/product/x;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/x;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v0, Lcom/waiqin365/lightapp/product/y;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v2

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v4

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v5, 0x7f0805c6

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v12

    invoke-virtual {v1, v12, v13}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/y;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;DLandroid/widget/EditText;Ljava/lang/String;)V

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Landroid/text/TextWatcher;)V

    if-eqz v6, :cond_9

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const/high16 v2, 0x40c00000    # 6.0f

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const/high16 v3, 0x40c00000    # 6.0f

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v10, v0, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->z:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v11, v10}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :goto_6
    add-int/lit8 v0, v6, 0x1

    move v6, v0

    move-wide v2, v8

    goto/16 :goto_3

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    check-cast v0, Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setShowClear(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setShowClear(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setBackgroundColor(I)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->v:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->y:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    if-eqz v7, :cond_2

    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_3

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/product/view/CountView;->a(ZZ)V

    goto/16 :goto_1

    :cond_3
    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/product/view/CountView;->a(ZZ)V

    goto/16 :goto_1

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    goto/16 :goto_2

    :cond_6
    const-string/jumbo v0, ""

    goto/16 :goto_4

    :cond_7
    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    div-double v4, v2, v4

    double-to-int v1, v4

    if-lez v1, :cond_8

    int-to-double v4, v1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v8

    mul-double/2addr v4, v8

    sub-double/2addr v2, v4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_8
    move-wide v8, v2

    goto/16 :goto_5

    :cond_9
    const/4 v0, 0x0

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const/high16 v3, 0x40c00000    # 6.0f

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v10, v0, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->z:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v11, v10}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_6

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->y:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->v:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->e(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v0

    if-nez v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v0

    :cond_b
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/view/CountView;->d()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    if-nez v0, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_c
    :goto_7
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->E:Z

    if-eqz v0, :cond_e

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->j()Ljava/lang/String;

    move-result-object v0

    :goto_8
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_f

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->n:Landroid/widget/TextView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->n:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->p:Landroid/widget/TextView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->o:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_9
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->F:Z

    if-eqz v0, :cond_10

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->k:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/f;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->k:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->t:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->k(Ljava/lang/String;)I

    move-result v0

    if-lez v0, :cond_11

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->i:Landroid/view/View;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->g:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v3, 0x7f0802ef

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "("

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ")"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b()V

    :goto_b
    return-void

    :cond_d
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto/16 :goto_7

    :cond_e
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->i()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_8

    :cond_f
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->n:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->n:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->p:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->o:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_9

    :cond_10
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->k:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_a

    :cond_11
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->i:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_b
.end method

.method private h()V
    .locals 4

    const-string/jumbo v0, ""

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->G:Z

    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->j()Z

    move-result v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v0, "0"

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->j:Landroid/widget/TextView;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    const-string/jumbo v0, ""

    :goto_0
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void

    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v3, 0x7f080465

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->k()V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    return-object v0
.end method

.method private i()V
    .locals 6

    const/16 v2, 0x8

    const/4 v1, 0x0

    const v5, 0x7f0c0949

    const/high16 v4, 0x41700000    # 15.0f

    const v0, 0x7f0c0944

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->d:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->P:Ljava/lang/String;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c094b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c08b3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->D:Z

    if-eqz v0, :cond_0

    move v0, v1

    :goto_0
    invoke-virtual {v3, v0}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080122

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0c0553

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->e:Landroid/widget/ImageView;

    const v0, 0x7f0c04fc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->g:Landroid/widget/TextView;

    const v0, 0x7f0c08b2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->h:Landroid/widget/TextView;

    const v0, 0x7f0c08b1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->i:Landroid/view/View;

    const v0, 0x7f0c08a5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->f:Landroid/widget/TextView;

    const v0, 0x7f0c08b9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/EditTextHasClear;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    const v0, 0x7f0c08a7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->j:Landroid/widget/TextView;

    const v0, 0x7f0c08a6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->k:Landroid/widget/TextView;

    const v0, 0x7f0c08b6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->l:Landroid/widget/TextView;

    const v0, 0x7f0c08b7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    const v0, 0x7f0c056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->n:Landroid/widget/TextView;

    const v0, 0x7f0c08ba

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->o:Landroid/widget/TextView;

    const v0, 0x7f0c08b8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->p:Landroid/widget/TextView;

    const v0, 0x7f0c08ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    const v0, 0x7f0c08bb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->q:Landroid/widget/EditText;

    const v0, 0x7f0c08b4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->t:Landroid/widget/LinearLayout;

    const v0, 0x7f0c08b5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->u:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->l:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->Q:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0697

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->v:Landroid/view/View;

    const v0, 0x7f0c01ee

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->w:Landroid/widget/TextView;

    const v0, 0x7f0c08ad

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/view/CountView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    const v0, 0x7f0c096b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->y:Landroid/view/View;

    const v0, 0x7f0c096d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->z:Landroid/widget/LinearLayout;

    const v0, 0x7f0c096c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->A:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->w:Landroid/widget/TextView;

    const-string/jumbo v1, "#808080"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->w:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->A:Landroid/widget/TextView;

    const-string/jumbo v1, "#808080"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->A:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/EditText;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v0

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v0

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    return-void

    :cond_0
    move v0, v2

    goto/16 :goto_0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Lcom/waiqin365/lightapp/view/EditTextHasClear;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    return-object v0
.end method

.method private j()V
    .locals 11

    const/4 v8, 0x1

    const/4 v10, 0x0

    const v0, 0x7f0c0942

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0949

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->i:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    new-instance v0, Lcom/waiqin365/lightapp/product/z;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->h()D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const v5, 0x7f0805ca

    invoke-virtual {v1, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-array v5, v8, [Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->c()I

    move-result v7

    invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    aput-object v7, v5, v10

    invoke-static {v1, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/z;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;DLandroid/widget/EditText;Ljava/lang/String;)V

    invoke-virtual {v6, v0}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    new-instance v0, Lcom/waiqin365/lightapp/product/aa;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->h()D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const v5, 0x7f0805c7

    invoke-virtual {v1, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-array v5, v8, [Ljava/lang/Object;

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->i()D

    move-result-wide v8

    invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string/jumbo v8, ""

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    aput-object v7, v5, v10

    invoke-static {v1, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/aa;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;DLandroid/widget/EditText;Ljava/lang/String;)V

    invoke-virtual {v6, v0}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->addTextChangedListener(Landroid/text/TextWatcher;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v1, Lcom/waiqin365/lightapp/product/ab;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ab;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v0, Lcom/waiqin365/lightapp/product/ac;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v2

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v4

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v5, 0x7f0805c6

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v6

    invoke-virtual {v1, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/ac;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;DLandroid/widget/EditText;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->x:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Landroid/text/TextWatcher;)V

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private k()V
    .locals 6

    const-wide/16 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->f()Ljava/lang/Double;

    move-result-object v0

    invoke-static {v0, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-static {v2, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    mul-double/2addr v0, v2

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->r:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0, v1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v1

    const/4 v3, 0x0

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->n:Landroid/widget/TextView;

    return-object v0
.end method

.method private l()V
    .locals 6

    const/4 v4, 0x0

    const-wide/16 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    invoke-static {v0, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    cmpg-double v5, v0, v2

    if-gez v5, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const v1, 0x7f0805cd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    cmpl-double v0, v0, v2

    if-nez v0, :cond_1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->I:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const v1, 0x7f0805ce

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->J:Z

    if-nez v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const v1, 0x7f0805cf

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "."

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v5, "0"

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_3
    invoke-static {v0, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v0

    :goto_1
    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/Double;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->q:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/g;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_5

    move v1, v4

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-interface {v0, v1, v2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_6
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m()V

    goto/16 :goto_0

    :cond_7
    move-wide v0, v2

    goto :goto_1
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->o:Landroid/widget/TextView;

    return-object v0
.end method

.method private m()V
    .locals 4

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->F:Z

    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v2, "selectedList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v0, -0x1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->finish()V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "key"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/order/OrderRecentlyActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/product/ProductCollectionActivityNew;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/product/ProductLabelActivityNew;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/product/ProductRecentlyActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSearchActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "has_data"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->e()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->back()V

    goto :goto_0
.end method

.method private n()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->M:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/d;->c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/lightapp/order/OrderProductHistoryActivity;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "cmId"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "cmName"

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "prodId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "prodName"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/product/d/f;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->overridePendingTransition(II)V

    :cond_0
    return-void
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->h()V

    return-void
.end method

.method private o()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "pdCache"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "pdId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->overridePendingTransition(II)V

    return-void
.end method


# virtual methods
.method public hasData(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    if-eqz v0, :cond_0

    const-string/jumbo v0, "addSuccess"

    iget-object v1, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Z)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string/jumbo v0, "delSuccess"

    iget-object v1, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Z)V

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    const/16 v0, 0x400

    if-ne p1, v0, :cond_0

    if-eqz p3, :cond_0

    const-string/jumbo v0, "selectedList"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    const-string/jumbo v0, "selectedList"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->m()V

    :cond_0
    return-void
.end method

.method public onBackPressed()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onBackPressed()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->finish()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Lcom/waiqin365/lightapp/product/d/f;)V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->l()V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->M:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/d;->c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/lightapp/product/CuXiaoZuListActivity;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "productId"

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "cmId"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "cmName"

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "selectedList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v0, 0x400

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :sswitch_4
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->n()V

    goto :goto_0

    :sswitch_5
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->o()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0552 -> :sswitch_5
        0x7f0c08ab -> :sswitch_2
        0x7f0c08b1 -> :sswitch_3
        0x7f0c08b3 -> :sswitch_4
        0x7f0c0942 -> :sswitch_0
        0x7f0c0949 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/4 v3, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030195

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isJT"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->E:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isModify"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->F:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isShowHistory"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->D:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "titleName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->P:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->P:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const v0, 0x7f0804b1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->P:Ljava/lang/String;

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "priceName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->Q:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->Q:Ljava/lang/String;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f080660

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->Q:Ljava/lang/String;

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isRelInventory"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->G:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isCanModifyPrice"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->H:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isProductCountCanZero"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->I:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isProductModifyPriceCanZero"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->J:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "pdCache"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->i()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_2

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    :cond_2
    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->s:Landroid/widget/TextView;

    const v1, 0x7f080716

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_3
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->C:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->B:Lcom/waiqin365/lightapp/product/d/f;

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->mContext:Landroid/content/Context;

    const/4 v1, 0x1

    new-instance v2, Lcom/waiqin365/lightapp/product/t;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/product/t;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    invoke-static {v0, v1, v3, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    :goto_1
    return-void

    :cond_4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->O:Ljava/util/List;

    goto :goto_0

    :cond_5
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a()V

    goto :goto_1
.end method
